package com.tang.community.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.tang.common.entity.community.Article;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 唐朝阳
 * @since 2022-05-17
 */
public interface ArticleService extends IService<Article> {

    List<Article> listArticle(String keywords, Integer currentPage, Integer pageSize, Integer hasAuth);
     String auditArticle(Integer articleId, String res);

    List<Article> listMyArticle(Integer currentPage, Integer pageSize,String userName);
}
